package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.IncomeManage;
import cn.wolfcode.crm.query.IncomeManageQueryObject;
import cn.wolfcode.crm.util.PageResult;
import java.util.List;

public interface IIncomeManageService {

    IncomeManage selectByPrimaryKey(Long id);

    List<IncomeManage> selectAll();

    /**
     * 根据id审核数据
     * @param id
     */
    void changState(Long id);

    PageResult query4List(IncomeManageQueryObject qo);

    void deleteByPrimaryKey(Long id);

    void insert(IncomeManage entity);

    void updateByPrimaryKey(IncomeManage entity);
}
